<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      "use strict";
      const Fn = function () {
        this.name = "jack";
        this.age = 20;
      };

      // Fn();

      // console.log(new Fn()); // this
      console.log(
        new (function () {
          this.name = "jack";
          this.age = 20;
        })()
      ); // this
    </script>
  </body>
</html>
